<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix ="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<jsp:include page="somejscss/jscss_1.jsp"/>
<title>选择平台参数</title>
</head>
<body>
    <!-- 显示模板一 -->
    <jsp:include page="include/modelShortReview/model_a.jsp"></jsp:include>
<div class="wrap">
    <div>
        <form action="inputParams.action" method="post" enctype="multipart/form-data">
        <h2>参数平台选择</h2>
        <div class="param">
            <table>
                <tr>
                    <th>平台</th>
                    <td>
                        <select name="platform">
                            <option value="gz">广州平台</option>
                            <option value="bj">北京平台</option>
                            <option value="icm">ICM</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <th>title显示信息</th>
                    <td><input name="title" type="text"/></td>
                </tr>
                <tr>
                    <th>是否一个客户有多个域名共用一个页面、下拉？</th>
                    <td><input name="manydomain" type="radio" value="true"/><input name="manydomain" type="radio" value="false"/></td>
                </tr>
                <tr>
                    <th>单个域名是否隐藏</th>
                    <td><input name="singlehidden" type="radio" value="true"/><input name="singlehidden" type="radio" value="false"/></td>
                </tr>
                <tr>
                    <th>宽屏/窄屏</th><td>宽屏<input name="screen" type="radio" value="wide"/>窄屏<input name="screen" type="radio" value="narrow"/></td>
                </tr>
                <tr>
                    <th>SSL选项</th>
                    <td>使用<input name="useSSL" value="true" type="radio"/>不使用<input name="useSSL" type="radio" value="false"/></td>
                </tr>
                <tr>
                    <th>记住用户名选项</th>
                    <td>是<input name="saveUsername" type="radio" value="true"/>否<input name="saveUsername" type="radio" value="false"/></td>
                </tr>
                <tr>
                    <th>版权信息</th><td>
                    <input name="copyright" type="text" value=""/></td>
                </tr>
                <tr>
                    <th>登录界面默认语言版本选择</th>
                    <td>简体中文:<input name="zh_CN" type="checkbox" value="zh_CN"/>繁体中文:<input name="zh_TW" type="checkbox" value="zh_TW"/>English:<input name="en_US" type="checkbox" value="en_US"/></td>
                </tr>
            </table>
        </div>
        <h2>上传指定尺寸的图片</h2>
        <div>
            <!--按不同的候选模板刷新出尺寸选项、累计用到的背景图片-->
            <ul>
                </li>logo<input name="logo" type="file"/></li>
                </li>背景图片<input name="background-image" type="file"/></li>
                <li>主色调</li>
            </ul>
        </div>
        <div><input type="submit" value="生成预览图"/></div>
        </form>
    </div>
</div>
    <s:form name="fileUpload" action="fileUpload" namespace="/admin" method="post" enctype="multipart/form-data">
    <s:file name ="myFile" label ="Image File"/>
    <s:textfield name ="caption" label ="Caption"/>
    <s:submit/>
    </s:form >
<!--实时更新-->
<div class="wrap reviewface">
    <h2>预览效果图</h2>
    <div>
        <div style ="padding: 3px; border: solid 1px #cccccc; text-align: center">
            <img src ='/UploadImages/<s:property value ="imageFileName"/>' alt="upload image"/>
            <br/>
            <s:property value ="caption"/>
        </div>
    </div>
</div>
<div class="wrap">
    <form>
        <!--这里放置隐藏的参数，用于提交生成文件-->
        <button>打包下载</button>
        <button>保存到工单</button>
    </form>
</div>
</body>
</html>